﻿

using HBase;
using Microsoft.VisualBasic;

namespace hCommand {
    public class WMSBaseTransFacade {


        static TaskNoBSEngine taskNoEngine = new TaskNoBSEngine();
        static UnlocMoveBSEngine wcsMoveTask = new UnlocMoveBSEngine();
     

   
        

 
        public static int getTaskNo() {
             

                TransRes res = taskNoEngine.doWork();
                return taskNoEngine.taskNo;
            
        }
       
            public static bool doWcsMoveTask( int src ,int des,string waveNO="",string info="") {
            
           
            
          
                wcsMoveTask.src = src;
                wcsMoveTask.des = des;
                wcsMoveTask.waveNo = waveNO;
                wcsMoveTask.info= info; 
                TransRes res = wcsMoveTask.doWork();
                return res.s;
           
        }


    }
}
